package com.jinzecloud.reportapproval.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jinzecloud.reportapproval.utils.PageUtils;
import com.jinzecloud.reportapproval.bean.Product;
import com.jinzecloud.reportapproval.utils.R;
import com.jinzecloud.reportapproval.vo.ProductVo;

import java.util.List;
import java.util.Map;

/**
 * 产品表
 *
 * @author æ­å°
 * @email 1971240051@qq.com
 * @date 2024-12-03 16:18:45
 */
public interface ProductService extends IService<Product> {

    PageUtils queryPage(Map<String, Object> params);

    List<Product> getProjectNumber();

    Product getProductInfo(String productNumber);

    R saveProduct(ProductVo productVo);

    Product getByIdProduct(Integer prId);

    void updateByIdProduct(ProductVo productVo);

    ProductVo getByIdProductVo(Integer prId);

    ProductVo getCover(String productNumber);
}

